package com.ysd.lis.entity.qc;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;
import java.util.List;

/**
 * <p>
 * cold_chain.t_user
 * </p>
 *
 * @author peng
 * @since 2024-01-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class QcOutControlRec extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String code;
    private String rptGroupId;
    private String rptGroup;
    private String qcResultId;
    private String materialId;
    private String materialItemId;
    private String qcItemId;
    private String instrId;
    private String itemDictId;
    private String method;
    private String materialTargetId;
    private String batchNum;
    private String horizontal;
    private String qcNo;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    private Timestamp qcDate;
    private Integer qcSequence;
    private Double numResult;
    private String result;
    private Double mean;
    private Double sd;
    private Double z;

    @TableField(fill = FieldFill.UPDATE)
    private Timestamp operateDate;
    private String operaterId;
    private Boolean isReviewed;

    @TableField(fill = FieldFill.UPDATE)
    private Timestamp reviewDate;
    private String reviewerId;
    private String reviewOpinion;

    @TableField(exist = false)
    private List<QcOutControlRecDetail> details;
    @TableField(exist = false)
    private String itemDictName;
    @TableField(exist = false)
    private String instrName;
    @TableField(exist = false)
    private String rptGroupName;
    @TableField(exist = false)
    private String reviewerName;
    @TableField(exist = false)
    private String itemDictCode;
    @TableField(exist = false)
    private String instrCode;
    @TableField(exist = false)
    private String correctResult;

}
